//
//  ProductDetail.h
//  cutter
//
//  Created by mac on 16/1/11.
//  Copyright © 2016年 e360. All rights reserved.
//

#import "ProductCustom.h"
#import "UIMenuClass.h"


//产品简介
@interface ProductSynopsisCtrl : ProductCustomViewCtrl
@property (weak, nonatomic) IBOutlet UIImageView *imageView;
@property (weak, nonatomic) IBOutlet UITextView *textView;
@property (weak, nonatomic) IBOutlet UIButton *addFavorite;
//
@property (strong, nonatomic) NSDictionary *detail;
@property (strong, nonatomic) NSDictionary *data;
@end

@interface ProductContentViewCell: UICollectionViewCell
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *hiddenInfo;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *hiddenThumb;
@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
@property (weak, nonatomic) IBOutlet UIButton *addFavorite;
@property (weak, nonatomic) IBOutlet UITextView *textView;
@property (weak, nonatomic) IBOutlet UILabel *priceView;
@property (weak, nonatomic) IBOutlet TMZoom *imageView;
@property (weak, nonatomic) IBOutlet UIButton *addCart;
//
@property (strong, nonatomic) NSDictionary *detail;
@property (strong, nonatomic) NSDictionary *data;
-(void)reloadData;
@end

//产品详细
@interface ProductDetailCtrl : UIViewController
@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
@property (weak, nonatomic) IBOutlet UIMenuClass *menuView;
@property (weak, nonatomic) IBOutlet UIButton *addScheme;
@property (weak, nonatomic) IBOutlet UILabel *titleView;
@property (copy, nonatomic) blockEvent onSelected;
@property (assign, nonatomic) CGRect frame;
//
@property (strong, nonatomic) NSMutableArray *source;
@property (strong, nonatomic) NSDictionary *data;
@property (assign, nonatomic) NSInteger type;
@end
